﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage2.master" AutoEventWireup="true" CodeFile="Your_Cart.aspx.cs" Inherits="Your_Cart" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 100%;
            height: 384px;
        }
        .style3
        {
            width: 691px;
        }
        .style4
        {
            width: 225px;
        }
        .style5
        {
        }
        .style6
        {
            height: 38px;
        }
        .style7
        {
            width: 225px;
            height: 38px;
        }
        .style8
        {
            width: 1874px;
            height: 38px;
        }
        .style10
        {
            height: 38px;
        }
        .style11
        {
            width: 137px;
        }
        .style12
        {
            width: 36px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <br />
<br />
<br />
<br />
<br />
<br />
<br/>
<br/>
<br />
<br />
<br />
    <table class="style1">
        <tr>
            <td class="style7">
                </td>
            <td class="style8" colspan="4">
                <asp:Label ID="loginuser" runat="server" Font-Bold="True" Font-Italic="True" 
                    ForeColor="Black"></asp:Label>
            </td>
            <td class="style6" colspan="3">
                <asp:Button ID="Button3" runat="server" PostBackUrl="~/Product_View.aspx" 
                    Text="Back To Shpping" Width="124px" />
            </td>
            <td class="style10">
             
                </td>
        </tr>
        <tr>
            <td class="style4">
                &nbsp;</td>
            <td class="style5" colspan="4">
                &nbsp;</td>
            <td class="style3" colspan="3">
                <asp:Button ID="Button2" runat="server" onclick="Button2_Click" 
                    Text="Check Your Cart." Width="125px" />
            </td>
            <td>
             
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style4">
                &nbsp;</td>
            <td class="style3" colspan="7">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style4">
                &nbsp;</td>
            <td colspan="7">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    CellPadding="3" ForeColor="Black" GridLines="Vertical" 
                    onrowediting="GridView1_RowEditing" 
                    onselectedindexchanged="GridView1_SelectedIndexChanged" 
                    onrowcancelingedit="GridView1_RowCancelingEdit" 
                    onrowcommand="GridView1_RowCommand" onrowdeleting="GridView1_RowDeleting" 
                    onrowupdating="GridView1_RowUpdating" BackColor="White" 
                    BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px">
                    <AlternatingRowStyle BackColor="#CCCCCC" />
                    <Columns>
                        <asp:BoundField DataField="Produt_ID" HeaderText="Produt_ID" 
                            ApplyFormatInEditMode="True" />
                        <asp:BoundField DataField="Product_Code" HeaderText="Product_Code" />
                        <asp:BoundField DataField="Product_Name" HeaderText="Product_Name" />
                        <asp:TemplateField HeaderText="Quantity">
                            <ItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Quantity") %>' 
                                    Height="15px" Width="128px"></asp:TextBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="Product_Price" HeaderText="Product_Price" />
                        <asp:BoundField DataField="Point_Value" HeaderText="Point_Value" 
                            ApplyFormatInEditMode="True" />
                        <asp:BoundField DataField="Business_Value" HeaderText="Business Value" />
                        <asp:CommandField ShowDeleteButton="True" HeaderText="Delete" 
                            ButtonType="Button" />
                        <asp:CommandField ShowEditButton="True" HeaderText="Edit" 
                            CausesValidation="False" />
                    </Columns>
                    <FooterStyle BackColor="#CCCCCC" />
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                    <SortedAscendingHeaderStyle BackColor="Gray" />
                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                    <SortedDescendingHeaderStyle BackColor="#383838" />
                </asp:GridView>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style4">
                &nbsp;</td>
            <td class="style12">
                &nbsp;</td>
            <td class="style11">
                <asp:Label ID="Label3" runat="server" Font-Bold="True" ForeColor="Black" 
                    Text="Total Value : "></asp:Label>
                <asp:Label ID="Label1" runat="server" Text="Label" Font-Bold="True" 
                    ForeColor="#990000"></asp:Label>
            </td>
            <td class="style5">
                &nbsp;
                <asp:Label ID="Label6" runat="server" Font-Bold="True" 
                    Text="Total Point values"></asp:Label>
                &nbsp;:
                <asp:Label ID="lbl_pointval" runat="server" Text="lbl_pointval" Font-Bold="True" 
                    ForeColor="#990000"></asp:Label>
            </td>
            <td class="style5" colspan="2">
                <asp:Label ID="Label4" runat="server" Font-Bold="True" 
                    Text="Total Business values"></asp:Label>
&nbsp;: <asp:Label ID="lbl_businessval" runat="server" Text="lbl_businessval" Font-Bold="True" 
                    ForeColor="#990000"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
            <td colspan="2">
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>

